package com.corelib.fresco;

import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.corelib.BaseActivity;
import com.corelib.R;
import com.facebook.drawee.view.SimpleDraweeView;

import butterknife.BindView;

public class FresoMainActivity extends BaseActivity {
    @BindView(R.id.imageview)
    SimpleDraweeView img;


    @Override
    protected int inflateLayoutId() {
        return R.layout.activity_freso_main;
    }

    @Override
    protected void initViews(Bundle savedInstanceState) {
        Uri uri = Uri.parse("http://4493bz.1985t.com/uploads/allimg/150127/4-15012G52133.jpg");

        img.setImageURI(uri);
    }
}
